FROM docker.io/adoptopenjdk/openjdk11
VOLUME /tmp
COPY ruoyi.jar  app.jar
RUN bash -c "touch /app.jar"
EXPOSE 80
ENTRYPOINT ["java",  "-jar", "app.jar"]
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone